package com.qk.management.service;

import com.qk.common.PageResult;
import com.qk.dto.activity.ActivityDTO;
import com.qk.entity.Activity;

import java.util.List;

/**
 * @Author: ZgYn
 * @Date 2025/10/9 10:51
 * @name：ActivityService
 */
public interface ActivityService {
    PageResult<Activity> getActivities(ActivityDTO activityDTO);

    void save(Activity activity);

    void delete(Integer id);

    Activity getActivity(Integer id);

    void update(Activity activity);

    List<Activity> getActivitiesByType(Integer type);
}
